const local = {
    get(a){
    return  JSON.parse(window.localStorage.getItem(a))     
    },
    // 下面三个不需要返回值
    set(a,b){
     window.localStorage.setItem(a,JSON.stringify(b))
    },
    clear(){
  window.localStorage.clear()
    },
    remove(a){
window.localStorage.removeItem(a)
    }
}
export default local